package zl.ordermanager.po;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Tsalesinvoice entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "tsalesinvoice", catalog = "ordermanager")
public class Tsalesinvoice implements java.io.Serializable {

	// Fields

	private Integer id;

	private String abstractMonth;

	private String ai;

	private String amount;

	private String customer;

	private String drawer;

	private String invoiceDate;

	private String invoiceNo;

	private String invoiceType;

	private String orderAmount;

	private String orderNo;

	private String remarks;

	private String salesman;

	// Constructors

	/** default constructor */
	public Tsalesinvoice() {
	}

	/** full constructor */
	public Tsalesinvoice(String abstractMonth, String ai, String amount, String customer, String drawer,
			String invoiceDate, String invoiceNo, String invoiceType, String orderAmount, String orderNo,
			String remarks, String salesman) {
		this.abstractMonth = abstractMonth;
		this.ai = ai;
		this.amount = amount;
		this.customer = customer;
		this.drawer = drawer;
		this.invoiceDate = invoiceDate;
		this.invoiceNo = invoiceNo;
		this.invoiceType = invoiceType;
		this.orderAmount = orderAmount;
		this.orderNo = orderNo;
		this.remarks = remarks;
		this.salesman = salesman;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "abstractMonth", length = 45)
	public String getAbstractMonth() {
		return this.abstractMonth;
	}

	public void setAbstractMonth(String abstractMonth) {
		this.abstractMonth = abstractMonth;
	}

	@Column(name = "ai", length = 45)
	public String getAi() {
		return this.ai;
	}

	public void setAi(String ai) {
		this.ai = ai;
	}

	@Column(name = "amount", length = 45)
	public String getAmount() {
		return this.amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}

	@Column(name = "customer", length = 200)
	public String getCustomer() {
		return this.customer;
	}

	public void setCustomer(String customer) {
		this.customer = customer;
	}

	@Column(name = "drawer", length = 45)
	public String getDrawer() {
		return this.drawer;
	}

	public void setDrawer(String drawer) {
		this.drawer = drawer;
	}

	@Column(name = "invoiceDate", length = 24)
	public String getInvoiceDate() {
		return this.invoiceDate;
	}

	public void setInvoiceDate(String invoiceDate) {
		this.invoiceDate = invoiceDate;
	}

	@Column(name = "invoiceNo", length = 100)
	public String getInvoiceNo() {
		return this.invoiceNo;
	}

	public void setInvoiceNo(String invoiceNo) {
		this.invoiceNo = invoiceNo;
	}

	@Column(name = "invoiceType", length = 45)
	public String getInvoiceType() {
		return this.invoiceType;
	}

	public void setInvoiceType(String invoiceType) {
		this.invoiceType = invoiceType;
	}

	@Column(name = "orderAmount", length = 45)
	public String getOrderAmount() {
		return this.orderAmount;
	}

	public void setOrderAmount(String orderAmount) {
		this.orderAmount = orderAmount;
	}

	@Column(name = "orderNo", length = 10000)
	public String getOrderNo() {
		return this.orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	@Column(name = "remarks", length = 200)
	public String getRemarks() {
		return this.remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	@Column(name = "salesman", length = 45)
	public String getSalesman() {
		return this.salesman;
	}

	public void setSalesman(String salesman) {
		this.salesman = salesman;
	}

}